﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AddNotice.aspx.cs" Inherits="SchoolNoticeManagement_AddNotice" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>添加公告信息</title>
    <link href="../Css/ys.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div class="zt mainCenter">
        <div class="contentBody">
            <div class="title">
                公告管理-->添加公告</div>
            <table style="width: 100%; color: #336699;" class="ta1">
                <tr>
                    <td class="ta2 tag">
                        公告标题 ：
                    </td>
                    <td class="ta2 ">
                        <asp:TextBox ID="txtAnnouncementTitle" runat="server" Width="420px"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtAnnouncementTitle"
                            ErrorMessage="*"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td class="ta2 tag">
                        公告内容 ：
                    </td>
                    <td class="ta2 ">
                        <asp:TextBox ID="txtAnnouncementContent" runat="server" Width="420px" Height="264px"
                            TextMode="MultiLine"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtAnnouncementContent"
                            ErrorMessage="请填写公告内容"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <%--	<tr id="trc" runat="server">
	<td class="ta2 tag" style="display:none">
        等待审核
	：</td>
	<td class="ta2 " style="display:none">
		<asp:RadioButtonList ID="radbtnIsPublish" runat="server" 
            RepeatDirection="Horizontal">
            <asp:ListItem Value="0">待审核</asp:ListItem>
            <asp:ListItem Value="1">通过</asp:ListItem>
        </asp:RadioButtonList>
	    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
            ControlToValidate="radbtnIsPublish" ErrorMessage="*"></asp:RequiredFieldValidator>
	</td></tr>--%>
                <tr id="trc" runat="server">
                    <td class="ta2 tag">
                        是否发布 ：
                    </td>
                    <td class="ta2 ">
                        <asp:RadioButtonList ID="radbtnIsPublish" runat="server" RepeatDirection="Horizontal">
                            <asp:ListItem Value="1">发布</asp:ListItem>
                            <asp:ListItem Value="0">禁用</asp:ListItem>
                        </asp:RadioButtonList>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="radbtnIsPublish"
                            ErrorMessage="*"></asp:RequiredFieldValidator>
                    </td>
                </tr>
            </table>
            <asp:Button ID="btnAdd" runat="server" Text="提交" OnClick="btnAdd_Click" CssClass="button">
            </asp:Button>
            &nbsp;
            <input type="button" value="返回" onclick="window.history.go(-1)" class="button" id="back"
                runat="server">
        </div>
    </div>
    </form>
</body>
</html>
